# 基础镜像
FROM registry.cn-hangzhou.aliyuncs.com/raowb/nginx:1.21.5
# author
MAINTAINER raowb

# 挂载目录
VOLUME /data/mysite/mysite-ui
# 创建目录
RUN mkdir -p /data/mysite/mysite-ui
# 指定路径
WORKDIR /data/mysite/mysite-ui
# 复制conf文件到路径
COPY ./nginx.conf /etc/nginx/nginx.conf
# 复制html文件到路径
COPY ./dist /data/mysite/mysite-ui
